﻿namespace HCD.Const
{
    /// <summary>
    /// 字典常量（特征量中使用到的均不允许删除）
    /// </summary>
    public static class DictConst
    {
        /// <summary>
        /// DefCode Base
        /// </summary>
        public const string DefCode_Base = "00000";

        /// <summary>
        /// DefCode Base one
        /// </summary>
        public const string DefCode_Base_One = "00001";

        /// <summary>
        /// ValueCode Base
        /// </summary>
        public const string ValueCode_Base = "000";

        /// <summary>
        /// ValueCode Base one
        /// </summary>
        public const string ValueCode_Base_One = "001";

        /// <summary>
        /// 人员性别
        /// </summary>
        public const string DefCode_Sex = "00026";

        /// <summary>
        /// 性别:男
        /// </summary>
        public const string ValueCode_Sex_Male = "00026001";

        /// <summary>
        /// 性别:女
        /// </summary>
        public const string ValueCode_Sex_Female = "00026002";

        /// <summary>
        /// 人员政治面貌
        /// </summary>
        public const string DefCode_PoliticalStatus = "00027";

        /// <summary>
        /// 团员
        /// </summary>
        public const string ValueCode_PoliticalStatus_TY = "00027001";

        /// <summary>
        /// 党员
        /// </summary>
        public const string ValueCode_PoliticalStatus_DY = "00027002";

        /// <summary>
        /// 群众
        /// </summary>
        public const string ValueCode_PoliticalStatus_QZ = "00027003";

        /// <summary>
        /// 其他
        /// </summary>
        public const string ValueCode_PoliticalStatus_QT = "00027004";

        /// <summary>
        /// 人员户籍
        /// </summary>
        public const string DefCode_CensusRegister = "00028";

        /// <summary>
        /// 城镇
        /// </summary>
        public const string ValueCode_CensusRegister_City = "00028001";

        /// <summary>
        /// 农村
        /// </summary>
        public const string ValueCode_CensusRegister_Countryside = "00028002";

        /// <summary>
        /// 其他
        /// </summary>
        public const string ValueCode_CensusRegister_Others = "00028003";

        /// <summary>
        /// 学历
        /// </summary>
        public const string DefCode_Education = "00029";

        /// <summary>
        /// 博士后
        /// </summary>
        public const string ValueCode_Education_Postdoctor = "00029001";

        /// <summary>
        /// 博士
        /// </summary>
        public const string ValueCode_Education_Doctor = "00029002";

        /// <summary>
        /// 研究生
        /// </summary>
        public const string ValueCode_Education_Postgraduate = "00029003";

        /// <summary>
        /// 本科
        /// </summary>
        public const string ValueCode_Education_Undergraduate = "00029004";

        /// <summary>
        /// 专科
        /// </summary>
        public const string ValueCode_Education_College = "00029005";

        /// <summary>
        /// 高中学历
        /// </summary>
        public const string ValueCode_Education_Highschool = "00029006";

        /// <summary>
        /// 初中学历
        /// </summary>
        public const string ValueCode_Education_Middleschool = "00029007";

        /// <summary>
        /// 小学学历
        /// </summary>
        public const string ValueCode_Education_Primaryschool = "00029008";

        /// <summary>
        /// 其他
        /// </summary>
        public const string ValueCode_Education_Others = "00029009";

        /// <summary>
        /// 学位
        /// </summary>
        public const string DefCode_Degree = "00030";

        /// <summary>
        /// 博士学位
        /// </summary>
        public const string ValueCode_Degree_Doctor = "00030001";

        /// <summary>
        /// 硕士学位
        /// </summary>
        public const string ValueCode_Degree_Master = "00030002";

        /// <summary>
        /// 职员状态
        /// </summary>
        public const string DefCode_StaffStatus = "00031";

        /// <summary>
        /// 在职
        /// </summary>
        public const string ValueCode_StaffStatus_Onjob = "00031001";

        /// <summary>
        /// 离职
        /// </summary>
        public const string ValueCode_StaffStatus_Quit = "00031002";

        /// <summary>
        /// 退休
        /// </summary>
        public const string ValueCode_StaffStatus_Retiree = "00031003";

        /// <summary>
        /// 单位（产品）
        /// </summary>
        public const string DefCode_Unit = "00003";

        /// <summary>
        /// 单位:件
        /// </summary>
        public const string ValueCode_Unit_Piece = "00003001";

        /// <summary>
        /// 单位:条
        /// </summary>
        public const string ValueCode_Unit_Strip = "00003002";

        /// <summary>
        /// 单位:个
        /// </summary>
        public const string ValueCode_Unit_An = "00003003";

        /// <summary>
        /// 单位:KG
        /// </summary>
        public const string ValueCode_Unit_KG = "00003007";

        /// <summary>
        /// 单位:PCS
        /// </summary>
        public const string ValueCode_Unit_PCS = "00003008";

        /// <summary>
        /// 单位:M
        /// </summary>
        public const string ValueCode_Unit_M = "00003009";

        /// <summary>
        /// 仓库状态
        /// </summary>
        public const string DefCode_StorageStatus = "00004";

        /// <summary>
        /// 正常
        /// </summary>
        public const string ValueCode_StorageStatus_Normal = "00004001";

        /// <summary>
        /// 满仓
        /// </summary>
        public const string ValueCode_StorageStatus_FullStorege = "00004002";

        /// <summary>
        /// 废弃
        /// </summary>
        public const string ValueCode_StorageStatus_Dumped = "00004003";

        /// <summary>
        /// 币种
        /// </summary>
        public const string DefCode_Currency = "00024";

        /// <summary>
        /// 人民币
        /// </summary>
        public const string ValueCode_Currency_RMB = "00024001";

        /// <summary>
        /// 申请单状态
        /// </summary>
        public const string DefCode_ApplyStatus = "00006";

        ///// <summary>
        ///// 申请单数量运输完成
        ///// </summary>
        //public const string ValueCode_ApplyStatus_QuantityFinished = "00006001";
        /// <summary>
        /// 申请单已完成状态
        /// </summary>
        public const string ValueCode_ApplyStatus_Finished = "00006002";

        /// <summary>
        /// 申请单处理中
        /// </summary>
        public const string ValueCode_ApplyStatus_BeingProcessed = "00006003";

        /// <summary>
        /// 全部状态
        /// </summary>
        public const string ValueCode_ApplyStatus_Default = "00006004";

        /// <summary>
        /// 未处理
        /// </summary>
        public const string ValueCode_ApplyStatus_Waiting = "00006005";

        ///// <summary>
        ///// 申请单关闭状态
        ///// </summary>
        //public const string ValueCode_ApplyStatus_Closed = "00006006";
        ///// <summary>
        ///// 工程待审核
        ///// </summary>
        //public const string ValueCode_ApplyStatus_Engineer = "00006007";
        /// <summary>
        /// 标签类型
        /// </summary>
        public const string DefCode_CardType = "00012";

        /// <summary>
        /// 员工卡
        /// </summary>
        public const string ValueCode_CardType_Person = "00012001";

        /// <summary>
        /// 衣服、产品
        /// </summary>
        public const string ValueCode_CardType_Product = "00012002";

        /// <summary>
        /// 包装箱
        /// </summary>
        public const string ValueCode_CardType_Package = "00012003";

        /// <summary>
        /// 周转箱
        /// </summary>
        public const string ValueCode_CardType_PkgTurn = "00012004";

        /// <summary>
        /// 出库单类型
        /// </summary>
        public const string DefCode_ApplyTypeOut = "00008";

        /// <summary>
        /// 销售出库
        /// </summary>
        public const string ValueCode_ApplyTypeOut_XS = "00008001";

        /// <summary>
        /// 其它出库
        /// </summary>
        public const string ValueCode_ApplyTypeOut_QT = "00008003";

        /// <summary>
        /// 领料
        /// </summary>
        public const string ValueCode_ApplyTypeOut_LL = "00008002";

        /// <summary>
        /// 入库单类型
        /// </summary>
        public const string DefCode_ApplyTypeIn = "00007";

        /// <summary>
        /// 采购入库
        /// </summary>
        public const string ValueCode_ApplyTypeIn_CG = "00007001";

        /// <summary>
        /// 生产入库
        /// </summary>
        public const string ValueCode_ApplyTypeIn_BY = "00007002";

        /// <summary>
        /// 其它入库
        /// </summary>
        public const string ValueCode_ApplyTypeIn_QT = "00007003";

        /// <summary>
        /// 结清状态
        /// </summary>
        public const string DefCode_Settlement = "00022";

        /// <summary>
        /// 未结清
        /// </summary>
        public const string ValueCode_Settlement_None = "00022001";

        /// <summary>
        /// 已结清
        /// </summary>
        public const string ValueCode_Settlement_Done = "00022002";

        /// <summary>
        /// 强制结清
        /// </summary>
        public const string ValueCode_Settlement_Force = "00022003";

        /// <summary>
        /// 加工处理
        /// </summary>
        public const string ValueCode_Treat = "00035";

        /// <summary>
        /// 商品完善状态
        /// </summary>
        public const string DefCode_ProductStatus = "00036";

        /// <summary>
        /// 已完善
        /// </summary>
        public const string ValueCode_ProductStatus_Perfect = "00036001";

        /// <summary>
        /// 待完善
        /// </summary>
        public const string ValueCode_ProductStatus_Faulty = "00036002";

        public const string ProAttrDefCode_ClothColor = "CLOTHCOLOR";
        public const string ProAttrDefCode_ClothSize = "CLOTHSIZE";

        /// <summary>
        /// 维修分类
        /// </summary>
        public const string DefCode_EquipmentRepair_Type = "00038";

        /// <summary>
        /// 外部维修
        /// </summary>
        public const string ValueCode_EquipmentRepair_Out = "00038002";

        /// <summary>
        /// 内部维修
        /// </summary>
        public const string ValueCode_EquipmentRepair_In = "00038001";

        /// <summary>
        /// 维修状态
        /// </summary>
        public const string DefCode_EquipmentRepair_Status = "00039";

        /// <summary>
        /// 维修处理中
        /// </summary>
        public const string ValueCode_EquipmentRepair_Processing = "00039001";

        /// <summary>
        /// 维修已完成
        /// </summary>
        public const string ValueCode_EquipmentRepair_Finished = "00039002";

        /// <summary>
        /// 维修审核中
        /// </summary>
        public const string ValueCode_EquipmentCheck_Finished = "00039003";

        /// <summary>
        /// 审核状态
        /// </summary>
        public const string DefCode_Check_Status = "00040";

        /// <summary>
        /// 未审核
        /// </summary>
        public const string ValueCode_CheckNone = "00040001";

        /// <summary>
        /// 审核中
        /// </summary>
        public const string ValueCode_Checking = "00040002";

        /// <summary>
        /// 审核成功
        /// </summary>
        public const string ValueCode_CheckedOK = "00040003";

        /// <summary>
        /// 审核失败
        /// </summary>
        public const string ValueCode_CheckedFail = "00040004";

        /// <summary>
        /// 难易系数
        /// </summary>
        public const string DefCode_DegreeOfDifficulty = "00041";

        /// <summary>
        /// 派工类别
        /// </summary>
        public const string DefCode_DispatchingType = "00042";

        /// <summary>
        /// 派工到个人
        /// </summary>
        public const string ValueCode_DispatchingType_Operator = "00042001";

        /// <summary>
        /// 派工到小组
        /// </summary>
        public const string ValueCode_DispatchingType_Group = "00042002";

        /// <summary>
        /// 派工到设备
        /// </summary>
        public const string ValueCode_DispatchingType_Device = "00042003";

        /// <summary>
        /// 不良品原因
        /// </summary>
        public const string DefCode_Reason = "00043";

        /// <summary>
        /// 破损
        /// </summary>
        public const string ValueCode_Reason_Broken = "00043001";

        /// <summary>
        /// 变形
        /// </summary>
        public const string ValueCode_Reason_Deformity = "00043002";

        /// <summary>
        /// 模具状态
        /// </summary>
        public const string DefCode_MouldInfoStatus = "00045";

        /// <summary>
        /// 设备状态——库存
        /// </summary>
        public const string Value_MouldInfoStatus_InStock = "00045001";

        /// <summary>
        /// 设备状态——出库
        /// </summary>
        public const string Value_MouldInfoStatus_Out = "00045002";

        /// <summary>
        /// 设备状态——维修
        /// </summary>
        public const string Value_MouldInfoStatus_Repair = "00045003";

        /// <summary>
        /// 设备状态——报废
        /// </summary>
        public const string Value_MouldInfoStatus_Scrap = "00045004";

        /// <summary>
        /// 设备状态
        /// </summary>
        public const string DefCode_MouldDeviceStatus = "00046";

        /// <summary>
        /// 设备状态——待解决
        /// </summary>
        public const string Value_MouldInfoStatus_Await = "00046005";

        /// <summary>
        /// 设备状态——库存
        /// </summary>
        public const string Value_MouldDeviceStatus_InStock = "00046001";

        /// <summary>
        /// 设备状态——使用
        /// </summary>
        public const string Value_MouldDeviceStatus_Using = "00046002";

        /// <summary>
        /// 设备状态——维修
        /// </summary>
        public const string Value_MouldDeviceStatus_Repair = "00046003";

        /// <summary>
        /// 设备状态——报废
        /// </summary>
        public const string Value_MouldDeviceStatus_Scrap = "00046004";

        ///// <summary>
        ///// 设备状态——退货
        ///// </summary>
        //public const string Value_MouldDeviceStatus_Return = "00046005";
        ///// <summary>
        ///// 设备状态——正常
        ///// </summary>
        //public const string Value_MouldDeviceStatus_Normal = "00046006";
        /// <summary>
        /// 设备状态——故障
        /// </summary>
        public const string Value_MouldDeviceStatus_Breakdown = "00046007";

        /// <summary>
        /// 设备状态——待机
        /// </summary>
        public const string Value_MouldDeviceStatus_Await = "00046008";

        ///// <summary>
        ///// 设备状态——关机 --- 美嘉 不用
        ///// </summary>
        //public const string Value_MouldDeviceStatus_Closed = "00046009";
        /// <summary>
        /// 生产状态
        /// </summary>
        public const string DefCode_Production = "00050";

        /// <summary>
        /// 全部状态
        /// </summary>
        public const string Value_Production_ALL = "00050001";

        /// <summary>
        /// 申请中
        /// </summary>
        public const string Value_Production_Application = "00050002";

        /// <summary>
        /// 已排产
        /// </summary>
        public const string Value_Production_Wait = "00050003";

        /// <summary>
        /// 加工中
        /// </summary>
        public const string Value_Production_Work = "00050004";

        /// <summary>
        /// 已完成
        /// </summary>
        public const string Value_Production_Complete = "00050005";

        /// <summary>
        /// 已完成
        /// </summary>
        public const string DefCode_TradeItem = "00051";

        /// <summary>
        /// 单据完成状态 已完成
        /// </summary>
        public const string Value_TradeItem_Finish = "00051002";

        /// <summary>
        /// 单据完成状态 部分完成
        /// </summary>
        public const string Value_TradeItem_Partial = "00051003";

        /// <summary>
        /// 单据完成状态 未完成
        /// </summary>
        public const string Value_TradeItem_Default = "00051001";

        /// <summary>
        /// 质检单据类型
        /// </summary>
        public const string DefCode_QC_Type = "00052";
        /// <summary>
        /// 看板类型
        /// </summary>
        public const string DefCode_Panel_Type = "00064";

        /// <summary>
        /// 工单
        /// </summary>
        public const string Value_QC_GD = "00052001";

        /// <summary>
        /// 采购单
        /// </summary>
        public const string Value_QC_Into = "00052002";

        /// <summary>
        /// 设备类型
        /// </summary>
        public const string DeviceEquipmentType = "000001";

        /// <summary>
        /// 模具类型
        /// </summary>
        public const string MouldEquipmentType = "000002";

        /// <summary>
        /// 异常报警类型
        /// </summary>
        public const string DefCode_Warn_Type = "00054";

        /// <summary>
        /// 采购单到期报警
        /// </summary>
        public const string Value_Warn_Purchase_Expire = "00054001";

        /// <summary>
        /// 采购单完成报警
        /// </summary>
        public const string Value_Warn_Purchase_Finished = "00054002";

        /// <summary>
        /// 销售单交付到期报警
        /// </summary>
        public const string Value_Warn_Sale_Expire = "00054003";

        /// <summary>
        /// 销售单完成报警
        /// </summary>
        public const string Value_Warn_Sale_Finished = "00054004";

        /// <summary>
        /// 生产到时间未开始报警
        /// </summary>
        public const string Value_Warn_Production_NotStarted = "00054005";

        /// <summary>
        /// 生产超期未完成报警
        /// </summary>
        public const string Value_Warn_Production_Expire = "00054006";

        /// <summary>
        /// 生产完成报警
        /// </summary>
        public const string Value_Warn_Production_Finished = "00054007";

        /// <summary>
        /// 模具定期保养报警
        /// </summary>
        public const string Value_Warn_Mould_FixedTime = "00054008";

        /// <summary>
        /// 模具闲置天数到期报警
        /// </summary>
        public const string Value_Warn_Mould_Rest = "00054009";

        /// <summary>
        /// 模具寿命报警
        /// </summary>
        public const string Value_Warn_Mould_Age = "00054010";

        /// <summary>
        /// 设备维修到期报警
        /// </summary>
        public const string Value_Warn_Repair_Expire = "00054011";

        /// <summary>
        /// 库存紧缺报警
        /// </summary>
        public const string Value_Warn_Stock_Empty = "00054012";

        /// <summary>
        /// 外出类型
        /// </summary>
        public const string DefCode_InorOutType = "00055";

        /// <summary>
        /// 请假外出
        /// </summary>
        public const string ValueCode_leave = "00055001";

        /// <summary>
        /// 公事外出
        /// </summary>
        public const string ValueCode_business = "00055002";//公事外出

        /// <summary>
        /// 出差
        /// </summary>
        public const string ValueCode_Chuchai = "00055003";//出差

        /// <summary>
        /// 调休
        /// </summary>
        public const string ValueCode_Tiaoxiu = "00055004";

        /// <summary>
        /// 请假类型
        /// </summary>
        public const string DefCode_QJType = "00056";

        /// <summary>
        /// 产假
        /// </summary>
        public const string ValueCode_ChanJia = "00056003";

        /// <summary>
        /// 事假
        /// </summary>
        public const string ValueCode_ShiJia = "00056001";//公事外出

        /// <summary>
        /// 病假
        /// </summary>
        public const string ValueCode_BinJia = "00056002";//出差

        /// <summary>
        /// 婚假
        /// </summary>
        public const string ValueCode_HongJia = "00056004";//

        /// <summary>
        /// 运输方式
        /// </summary>
        public const string DefCode_TranWays = "00057";

        /// <summary>
        /// 海运
        /// </summary>
        public const string ValueCode_Shipping = "00057001";

        /// <summary>
        /// 陆运
        /// </summary>
        public const string ValueCode_LandTransportation = "00057002";

        /// <summary>
        /// 空运
        /// </summary>
        public const string ValueCode_AirFreight = "00057003";

        /// <summary>
        /// 配送方式
        /// </summary>
        public const string DefCode_DeliveryWays = "00058";

        /// <summary>
        /// 客户自提
        /// </summary>
        public const string ValueCode_SelfBring = "00058001";

        /// <summary>
        /// 公司配送
        /// </summary>
        public const string ValueCode_CompanyDistribution = "00058002";

        /// <summary>
        /// 物流配送
        /// </summary>
        public const string ValueCode_LogisticsDistribution = "00058003";

        /// <summary>
        /// 省市名称简写
        /// </summary>
        public const string DefCode_ProvinceShorthand = "00059";

        /// <summary>
        /// 临时或者个人任务状态，0：未开始 1：进行中 2：完成
        /// </summary>
        public const string DefCode_DutyTaskStatus = "00061";

        /// <summary>
        /// 未开始
        /// </summary>
        public const string ValueCode_DutyTaskStatus_UnStart = "00061000";

        /// <summary>
        /// 进行中
        /// </summary>
        public const string ValueCode_DutyTaskStatus_BeingProcessed = "00061001";

        /// <summary>
        /// 已完成
        /// </summary>
        public const string ValueCode_DutyTaskStatus_Finished = "00061002";

        /// <summary>
        /// 仓库类型
        /// </summary>
        public const string DefCode_StoreHouseType = "00062";

        /// <summary>
        /// 油罐
        /// </summary>
        public const string ValueCode_Storage_Oil = "00062001";

        /// <summary>
        /// 大豆仓库
        /// </summary>
        public const string ValueCode_Storage_Dadou = "00062002";

        /// <summary>
        /// 豆粕仓库
        /// </summary>
        public const string ValueCode_Storage_Doupo = "00062003";

        /// <summary>
        /// 证照名称
        /// </summary>
        public const string DefCode_CertificateName = "00063";

        //----------------------考勤
        //审批设置  --设置单据表
        public const string Audit_TableName_Proposal = "Proposal";//请假单
        public const string Audit_TableName_Out = "Out";//外勤单
        public const string Audit_TableName_OverWork = "OverWork";//加班单
        public const string Audit_TableName_Trip = "Trip";//出差单


        //审批设置  --设置审批人类别
        public const string Audit_Type_One = "One";//一级
        public const string Audit_Type_More = "More";//多级
        public const string Audit_Type_OneSelf = "OneSelf";//发起人自己


        //审批设置  --设置审批方式
        public const string Audit_Way_One = "1";//依次审批（本环节内审批人依次审批）
        public const string Audit_Way_Two = "2";//会签 （须所有审批人同意）
        public const string Audit_Way_Three = "3";//或签（只要一名审批人同意即通过）


        //=请假单 状态
        public const string Proposal_State_Input = "Input";  //"录入";
        public const string Proposal_State_Waiting = "Waiting";  //"待审批";
        public const string Proposal_State_Passed = "Passed";   //"审批通过";
        public const string Proposal_State_Nopass = "Nopass";  //"审批不通过";
        public const string Proposal_State_Invalid = "Invalid";   //"作废";
        public const string Proposal_State_WaitingInvalid = "WaitingInvalid";   //"作废待审批";

        //加班单状态
        public const string OverWork_State_Input = "Input";  //"录入";
        public const string OverWork_State_Waiting = "Waiting";  //"待审批";
        public const string OverWork_State_Passed = "Passed";   //"审批通过";
        public const string OverWork_State_Nopass = "Nopass";  //"审批不通过";

        public const string OverWork_State_Invalid = "Invalid";  //"作废";
        public const string OverWork_State_WaitingInvalid = "WaitingInvalid";   //"作废待审批";
        //加班类型
        public const string OverWork_Type_Workingday = "Workingday";  //"工作日加班";
        public const string OverWork_Type_Weekend = "Weekend";  //"周末假日加班";
        public const string OverWork_Type_Legalholiday = "Legalholiday";  //"法定假日加班";

        //外勤单状态
        public const string AttendanceOut_State_Input = "Input";  //"录入";
        public const string AttendanceOut_State_Waiting = "Waiting";  //"待审批";
        public const string AttendanceOut_State_Passed = "Passed";   //"审批通过";
        public const string AttendanceOut_State_Nopass = "Nopass";  //"审批不通过";
        public const string AttendanceOut_State_Invalid = "Invalid";  //"作废";
        public const string AttendanceOut_State_WaitingInvalid = "WaitingInvalid";   //"作废待审批";
        //出差单状态                                                        
        public const string Trip_State_Input = "Input";  //"录入";
        public const string Trip_State_Waiting = "Waiting";  //"待审批";
        public const string Trip_State_Passed = "Passed";   //"审批通过";
        public const string Trip_State_Nopass = "Nopass";  //"审批不通过";
        public const string Trip_State_Invalid = "Invalid";  //"作废";
        public const string Trip_State_WaitingInvalid = "WaitingInvalid";   //"作废待审批";

        //班制设置类型                                                  
        public const string AttendanceRule_Type_One = "One";  //"1天1次上下班";
        public const string AttendanceRule_Type_Two = "Two";  //"1天2次上下班 ";
        public const string AttendanceRule_Type_Three = "Three";   //"1天3次上下班";
                                                                   //状态通用-----状态：使用中，停用

        public const string Status_Used = "Used"; //使用中
        public const string Status_Stop = "Stop";//停用

    }
}